@import './function.scss';

.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.flex-con {
  flex: 1;
}

.flex-start {
  align-items: flex-start !important;
}

.flex-justify-end {
  justify-content: flex-end;
}

.rel {
  position: relative;
}

.flex-vertical {
  flex-direction: column;
}

.flex-between {
  justify-content: space-between;
}

.flex-center {
  justify-content: center;
}

.hr {
  background-color: #F1F1F1;
  height: 10px;
}

.bg-color-white {
  background-color: #fff;
}

.two-line {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}


.fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
}


.more-icon {
  width: 40px;
  height: 40px;
  margin-right: -10px;
}

.btn--disabled {
  opacity: 0.4;
}

.border-b, .border-t {
  position: relative;
}

.border-b:after,
.border-t:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  //background: red;
  background: #F4F4F4;
  right: 0;
  height: 2px;
  //-webkit-transform: scaleY(.5);
  //-ms-transform: scaleY(.5);
  //transform: scaleY(.5);
  //-webkit-transform-origin: 100% 100%;
  //-ms-transform-origin: 100% 100%;
  //transform-origin: 100% 100%;
}

.border-b:after {
  top: auto;
  bottom: 0;
}

.mb0 {
  margin-bottom: 0 !important;
}

.pb0 {
  padding-bottom: 0 !important;
}

.space-between > * + * {
  margin-left: 10px;
}


.space-between--large > * + * {
  margin-left: 20px;
}

.nowrap {
  white-space: nowrap;
}

ul {
  margin: 0;
  padding: 0;
}

.text-center {
  @include text-center;
}

.pt30 {
  padding-top: 30px;
}

.pb30 {
  padding-bottom: 30px !important;
}

.pt20 {
  padding-top: 20px !important;
}

.pb20 {
  padding-bottom: 20px !important;
}

.pt10 {
  padding-top: 10px !important;
}

.text-right {
  text-align: right;
}

.fz12 {
  font-size: 12px;
}

.fz14 {
  font-size: 14px;
}

.c999 {
  color: #999;
}

.mb-10 {
  margin-bottom: -10px;
}

.pb10 {
  padding-bottom: 10px !important;
}

.important-color {
  color: rgb(255, 84, 84);
}

.space-between > * + * {
  margin-left: 10px;
}

.v-space-between > * + * {
  margin-top: 10px;
}

.line-sep {
  display: inline-block;
  margin: 0 10px;
  width: 2px;
  height: 12px;
  background-color: #eee;
}


.btn-area {
  &-holder {
    height: 90px;
  }

  &--fixed {
    height: 80px;
    position: fixed;
    left: 220px;
    right: 20px;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 100;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
}

//
//.app-main {
//  &__inner {
//    max-width: 1612px;
//    min-width: 1036px;
//    margin: 0 auto;
//    padding-top: 10px;
//  }
//}
.data-table {
  table {
    width: 100%;
    //table-layout: fixed;
    border-collapse: collapse;
    //min-height: 400px;
  }

  &-header {
    border: 1px solid #eee;
    background-color: #FAFAFA;
    border-bottom: none;
    font-size: 12px;
    padding: 15px;
  }

  td, th {
    border: 1px solid #eee;
    padding: 5px;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
  }

  th {
    background-color: #FAFAFA;
    padding: 8px 5px;
    font-size: 12px;
  }

  + .data-table {
    margin-top: 10px;
  }
}

.data-empty {
  padding: 50px;
}

.table-header-row th {
  background-color: #FAFAFA !important;
}

.content-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
